package com.javaspeak.concurrency.structures.arrayblockingqueue;

/**
 * @author John Dickerson
 */
public class Result {

    private long nanoProcessedTime;
    private int numberQueueObjectsProcessed;
    private String threadName;


    public Result( long nanoProcessedTime, int numberQueueObkectsProcessed,
            String threadName ){

        this.nanoProcessedTime = nanoProcessedTime;
        this.numberQueueObjectsProcessed = numberQueueObkectsProcessed;
        this.threadName = threadName;
    }


    public long getNanoProcessedTime() {

        return nanoProcessedTime;
    }


    public long getNumberQueueObjectsProcessed() {

        return numberQueueObjectsProcessed;
    }


    public String getTheadName() {

        return threadName;
    }
}
